import { drizzle } from 'drizzle-orm/node-postgres'
import { Pool } from 'pg'
const pool = new Pool({
  connectionString: process.env.NILEDB_URL
})
import { schema } from './schema'

export const db = drizzle(pool, { schema })
